home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
System Booster
/
System Booster.iso
/
Archives
/
Timing
/
Olt12.lha
/
Olt.autodoc
< prev
Wrap
Text File
|
1995-06-24
|
3KB
|
116 lines
Olt/Documentation Olt/Documentation
PROGRAM
Olt
Version 1.2
Relase date: 24.6.95
COPYRIGHT
© 1995 Paul Huxham
Bonusware, all rights reserved.
DISTRIBUTION
Olt should be distributed at no charge to the end user. It may be
included on CDROMs with no restrictions.
PURPOSE
Displays an incremental counter, ideally suited for displaying total
modem connect time.
CONTENTS
Olt = This is the program.
Olt.autodoc = Documention you are reading now.
USAGE
Olt can be called from the shell or Workbench.
From the shell, Olt supports the following arguments:
PUBSCREEN,REXXPORT,X/N,Y/N,UPDATE/N,TOFRONT/S
PUBSCREEN is the public screen on which to open the Olt window. Case
sensitive. Defaults to the default public screen (usually Workbench).
REXXPORT is the name of the ARexx port to create. It will be converted
to uppercase and no other application can be using an identical name.
If the name is already in use, Olt will fail with an error.
X is the x position of the top left corner of the window.
Y is the y position of the top left corner of the window. If you supply
-1 for this value, the window will be positioned just below the
screens' title bar.
UPDATE is the number of seconds to wait between updates of the counter
display. If this is 0 (default), then the timer will be updated when
Olt is the active window. If you sepcify say 10, then timer will be
updated every ten seconds.
TOFRONT when specified will bring the Olt window to the front whenever
the timer display is updated.
From the Workbench, OkayDokey supports the following tooltypes:
PUBSCREEN, REXXPORT, X, Y, UPDATE, TOFRONT
These function the same as their shell equivalents.
REQUIREMENTS
A minimum of Kickstart 2.x is required.
NOTES
If Olt fails to open the ARexx port it will fail and return a value of
20 in the local environment variable RC.
AREXX
The ARexx interface of Olt supports the following commands:
CONNECT returns the time that the Olt timer was reset (or started if
never reset) in the ARexx 'result' variable. The string returned is
formatted as follows:
16 12 47 12 4 1995
Where the fields are: Hours Minutes Seconds Day Month Year
ONLINE returns the total time from connect timer to now as a string in
'result'. The string returned is formatted as follows:
16 13 00
Where the fields are: Hours Minutes Seconds
RESET resets the connect timer to the current time, meaning you can run
Olt in a startup and reset it later.
SYSTIME returns the current system time and date in the same format as
CONNECT.
SHUTDOWN quits and removes Olt.
HISTORY
V1.0 Not released.
V1.1 Not released.
* Added UPDATE argument.
V1.2 First public release.
* Added TOFRONT argument.
COMPLIER
Olt was written using CED V3.5 and compiled with SAS/C 6.55 on
an Amiga 4000/040. Enforcer was used to detect and correct programming
errors.
BUGS
None known at present.
AUTHOR
You can contact the author via:
Email:
paulh@Perth.DIALix.oz.au
or
P.O. Box 875
Morley,
Perth,
Western Australia 6943